package com.nw.dsl4j.runtime.parser;

public class LocationSupport {
	
	private String text;
	private int startIndex;
	private int endIndex;
	
	public LocationSupport() {
	}

	public int getStartIndex() {
		return startIndex;
	}

	public void setStartIndex(int startIndex) {
		this.startIndex = startIndex;
	}

	public int getEndIndex() {
		return endIndex;
	}

	public void setEndIndex(int endIndex) {
		this.endIndex = endIndex;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	@Override
	public String toString() {
		return getStartIndex() + "-" + getEndIndex() + " : \n" + getText();
	}
}
